//
//  AL_CollectionViewCell_Recomend.m
//  22-homework-QQMV-ALi
//
//  Created by 王道林 on 16/8/15.
//  Copyright © 2016年 王道林. All rights reserved.
//

#import "AL_CollectionViewCell_Recomend.h"
#import "AL-ModelPic.h"
@interface AL_CollectionViewCell_Recomend ()
@property (weak, nonatomic) IBOutlet UIImageView *iamgeView;
@property (weak, nonatomic) IBOutlet UIButton *buttonPlay;
@property (weak, nonatomic) IBOutlet UILabel *LableTitle;

@property (weak, nonatomic) IBOutlet UILabel *LableContect;


@end
@implementation AL_CollectionViewCell_Recomend

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.contentView.backgroundColor = [UIColor colorWithRed:0.063 green:0.090 blue:0.078 alpha:1.000];
    _iamgeView.image = [UIImage imageNamed:@"huawens26"];
    _iamgeView.layer.masksToBounds = YES;
    _iamgeView.layer.borderWidth = 2;
    _iamgeView.layer.borderColor = [[UIColor colorWithRed:0.450 green:0.313 blue:0.875 alpha:1.000] CGColor];
    [_buttonPlay setImage:[UIImage imageNamed:@"Unknown"] forState:UIControlStateNormal];
}

- (void)setModelPic:(AL_ModelPic *)ModelPic
{
    _ModelPic = ModelPic;
    _LableTitle.text = _ModelPic.name;
    _LableContect.text = _ModelPic.desc;
}

@end
